emacs.git
10 days agoMerge version 1:30.1+1-6+rpi1 and 1:30.1+1-6+deb13u1 to produce 1:30.1+1-6+rpi1+deb13u1 trixie-staging archive/raspbian/1%30.1+1-6+rpi1+deb13u1 raspbian/1%30.1+1-6+rpi1+deb13u1
Raspbian automatic forward porter [Sat, 5 Sep 2026 15:42:27 +0000 (16:42 +0100)]
Merge version 1:30.1+1-6+rpi1 and 1:30.1+1-6+deb13u1 to produce 1:30.1+1-6+rpi1+deb13u1

3 weeks agoMerge emacs (1:30.1+1-6+deb13u1) import into refs/heads/workingbranch
Rob Browning [Fri, 21 Aug 2026 17:24:00 +0000 (12:24 -0500)]
Merge emacs (1:30.1+1-6+deb13u1) import into refs/heads/workingbranch

3 weeks agoMitigate arbitrary code execution vulnerability
Eshel Yaron [Wed, 5 Aug 2026 17:58:32 +0000 (19:58 +0200)]
Mitigate arbitrary code execution vulnerability

This mitigates a vulnerability that allowed a specially
crafted file to trigger execution of attacker-controlled
arbitrary Emacs Lisp code immediately when the file is
visited in Emacs (before the file's malicious contents are
even displayed).  See demonstration in bug#80574.

* lisp/progmodes/cc-fonts.el (c-compose-keywords-list):
* lisp/vc/vc-hooks.el (vc-find-backend-function):
Nullify 'read-symbol-shorthands' around risky 'intern' calls.
Do not merge to master.

Orign: upstream, commit: 8466eb44991707d128110bdc549fad14c8e1d61e
Added-by: Rob Browning <rlb@defaultvalue.org>
Bug: https://debbugs.gnu.org/80574
README-Debian: Opening a file should have less risk of executing arbirary code
 The vulnerability that has been mitigated could allow a specially
 crafted file to trigger execution of attacker-controlled arbitrary
 Emacs Lisp code immediately when the file is visited in Emacs.  The
 broader issue is described here: https://debbugs.gnu.org/80574

Gbp-Pq: Name 0026-Mitigate-arbitrary-code-execution-vulnerability.patch

3 weeks agoSkip some proced-tests that appear to be hanging
Stefan Kangas [Tue, 11 Mar 2025 00:01:33 +0000 (01:01 +0100)]
Skip some proced-tests that appear to be hanging

Skip the same proced-tests that are now skipped upstream because they
were hanging on darwin, since proced-tests has been intermittently been
hanging on Debian too.  Just change the skip-when criteria in the
upstream commit from 'darwin to t.

Also skip the two tests that were already being skipped on darwin, since
proced-tests was still hanging with those enabled in Debian.

Orign: upstream, commit: 8ea65ac642c5ae29610ef6a14f852953821dee45)
Added-by: Rob Browning <rlb@defaultvalue.org>
Bug: https://debbugs.gnu.org/76898
README-Debian: Some of the proced-tests are now skipped
 They were hanging on the buildds and locally, so as with darwin
 upstream, we now skip them too.

Gbp-Pq: Name 0025-Skip-some-proced-tests-that-appear-to-be-hanging.patch

3 weeks agobytecomp-tests--dest-mountpoint: only run test if bwrap works
Rob Browning [Mon, 4 May 2026 23:13:34 +0000 (18:13 -0500)]
bytecomp-tests--dest-mountpoint: only run test if bwrap works

Bug-Debian: https://bugs.debian.org/1129189
Added-by: Rob Browning <rlb@defaultvalue.org>
README-Debian: The bytecomp-tests--dest-mountpoint should now only run
 where bwrap works.
 .
 It doesn't, in some environments, like a Debian sbuild unshare.

Gbp-Pq: Name 0024-bytecomp-tests-dest-mountpoint-only-run-test-if-bwra.patch

3 weeks ago* src/image.c (svg_load_image): Fix off-by-one mistake (bug#80851).
Eli Zaretskii [Sat, 18 Apr 2026 07:35:05 +0000 (10:35 +0300)]
* src/image.c (svg_load_image): Fix off-by-one mistake (bug#80851).

Origin: upstream, commit: 8f535370b9efbc91673b20c6987a5cae4f6dc562
Added-by: Rob Browning <rlb@defaultvalue.org>
Bug: https://debbugs.gnu.org/80851
Bug-Debian: https://bugs.debian.org/1134692
README-Debian: An SVG-related security vulnerability has been fixed (CVE-2026-6861)
 This vulnerability, a memory corruption issue, could occur when Emacs
 processed specially crafted SVG (Scalable Vector Graphics)
 CSS (Cascading Style Sheets) data. A local user could exploit this by
 convincing a victim to open a malicious SVG file, which might lead to a
 denial of service (DoS) or potentially information disclosure.

Gbp-Pq: Name 0023-src-image.c-svg_load_image-Fix-off-by-one-mistake-bu.patch

3 weeks agoMark esh-proc-test/kill-pipeline as unstable for now
Rob Browning [Mon, 10 Nov 2025 18:20:23 +0000 (12:20 -0600)]
Mark esh-proc-test/kill-pipeline as unstable for now

Currently fails on at least s390x from time to time. It doesn't take
long to  reproduce via

  (set -ex; while true; do make lisp/eshell/esh-proc-tests EMACS_TEST_VERBOSE=true; done)

from debian/build-lucid/test/. The failure looks like this:

     passed   3/24  esh-proc-test/exit-status/with-stderr-pipe (0.101971 sec)
  Test esh-proc-test/kill-pipeline backtrace:
    signal(ert-test-failed (((should (string-match-p (rx bos (32 (or "in
    ert-fail(((should (string-match-p (rx bos (32 (or "interrupt" (seq "
    (if (unwind-protect (setq value-154 (apply fn-152 args-153)) (setq f
    (let (form-description-156) (if (unwind-protect (setq value-154 (app
    (let ((value-154 'ert-form-evaluation-aborted-155)) (let (form-descr
    (let* ((fn-152 #'string-match-p) (args-153 (condition-case err (list
    (let ((output-start (eshell-beginning-of-output))) (eshell-kill-proc
    (let ((ert--infos (cons (cons "Command logs: " #'eshell-get-debug-lo
    (save-current-buffer (set-buffer eshell-buffer) (let ((ert--infos (c
    (unwind-protect (save-current-buffer (set-buffer eshell-buffer) (let
    (let ((eshell-buffer (eshell t))) (unwind-protect (save-current-buff
    (let ((process-environment (cons "HISTFILE" process-environment)) (e
    (progn (let ((process-environment (cons "HISTFILE" process-environme
    (unwind-protect (progn (let ((process-environment (cons "HISTFILE" p
    (let* ((coding-system-for-write nil) (temp-file (file-name-as-direct
    (save-current-buffer (let* ((coding-system-for-write nil) (temp-file
    #f(lambda () [t] (let ((value-145 (gensym "ert-form-evaluation-abort
    #f(compiled-function () #<bytecode 0xadfd76a69b57547>)()
    handler-bind-1(#f(compiled-function () #<bytecode 0xadfd76a69b57547>
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name esh-proc-test/kill-pipeline :document
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :unstable) (tag :nativecomp))) #f(compil
    ert-run-tests-batch((not (or (tag :unstable) (tag :nativecomp))))
    ert-run-tests-batch-and-exit((not (or (tag :unstable) (tag :nativeco
    eval((ert-run-tests-batch-and-exit '(not (or (tag :unstable) (tag :n
    command-line-1(("-L" ":/home/rlb/emacs/debian/build-src/test" "-l" "
    command-line()
    normal-top-level()
  Test esh-proc-test/kill-pipeline condition:
      Command logs: command: "sh -c 'while true; do echo y; sleep 1; done' | sh -c 'while true; do read NAME; done'"

                    ----------------------------------------
                    [process] started external process `sh'

                    /usr/bin/sh -c while\ true\;\ do\ read\ NAME\;\ done
                    ----------------------------------------
                    [process] started external process `sh<1>'

                    /usr/bin/sh -c while\ true\;\ do\ echo\ y\;\ sleep\ 1\;\ done
                    ----------------------------------------
                    [process] received output from process `sh<1>'

                    y

                    ----------------------------------------
                    [process] forwarding output from process `sh<1>'

                    y

                    ----------------------------------------
                    [process] sentinel for external process `sh<1>': "killed
                    "
                    ----------------------------------------
                    [process] i/o busy for process `sh<1>'
                    ----------------------------------------
                    [process] sentinel for external process `sh-stderr': "finished
                    "
                    ----------------------------------------
                    [process] finished external process `sh-stderr'
                    ----------------------------------------
                    [process] sentinel for external process `sh': "killed
                    "
                    ----------------------------------------
                    [process] finished external process `sh'
      (ert-test-failed
       ((should
         (string-match-p (rx bos ... eos)
                        (buffer-substring-no-properties output-start ...)))
        :form
        (string-match-p "\\`\\(?:\\(?:interrupt\\|killed.*\\)\n\\)?\\'"
                       "/home/rlb/emacs/debian/build-lucid/test $ sh -c 'while true; do echo y; sleep 1; done' | sh -c 'while true; do read NAME; done'\n")
        :value nil))
     FAILED   4/24  esh-proc-test/kill-pipeline (0.003864 sec) at ../../build-src/test/lisp/eshell/esh-proc-tests.el:300
  Error running timer: (error "Selecting deleted buffer")
     passed   5/24  esh-proc-test/kill-pipeline-head (0.102912 sec)
     passed   6/24  esh-proc-test/kill-process/background-prompt (0.001595 sec)
  [sleep]+ Done (/usr/bin/sleep 100)
     passed   7/24  esh-proc-test/kill-process/foreground-only (0.203248 sec)
     passed   8/24  esh-proc-test/kill-process/redirect-message (0.001616 sec)
     passed   9/24  esh-proc-test/output/remote-redirect (0.160153 sec)

Gbp-Pq: Name 0022-Mark-esh-proc-test-kill-pipeline-as-unstable-for-now.patch

3 weeks agoDisable emacs-module-tests.el
Sean Whitton [Sun, 30 Mar 2025 05:24:23 +0000 (13:24 +0800)]
Disable emacs-module-tests.el

This regularly causes Emacs to FTBFS.

Gbp-Pq: Name 0021-Disable-emacs-module-tests.el.patch

3 weeks agoDisable server-tests/server-force-stop/keeps-frames on riscv64
Sean Whitton [Wed, 26 Feb 2025 08:13:44 +0000 (16:13 +0800)]
Disable server-tests/server-force-stop/keeps-frames on riscv64

This test often hangs on the Debian buildds.
It simply fails on a porterbox, at least for the emacs-nox phase
of the build, though seemingly not the emacs-lucid phase.

Gbp-Pq: Name 0020-Disable-server-tests-server-force-stop-keeps-frames-.patch

3 weeks agoBoost BASE_PURESIZE in attempt to fix build on 32-bit archs
Sean Whitton [Tue, 25 Feb 2025 01:19:38 +0000 (09:19 +0800)]
Boost BASE_PURESIZE in attempt to fix build on 32-bit archs

Gbp-Pq: Name 0019-Boost-BASE_PURESIZE-in-attempt-to-fix-build-on-32-bi.patch

3 weeks agoFix eldoc warning in patch adding debian-emacs-flavor
Xiyue Deng [Tue, 28 Jan 2025 07:23:37 +0000 (23:23 -0800)]
Fix eldoc warning in patch adding debian-emacs-flavor

Forwarded: not-needed
Closes: #1095133
Gbp-Pq: Name 0018-Fix-eldoc-warning-in-patch-adding-debian-emacs-flavo.patch

3 weeks agoMark dired-test-bug27243-02 as unstable for now
Rob Browning [Sat, 29 Jun 2024 16:01:56 +0000 (11:01 -0500)]
Mark dired-test-bug27243-02 as unstable for now

This appears to be a known issue:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#64
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#115

Sample failure:

  Test dired-test-bug27243-02 backtrace:
    signal(ert-test-failed (((should (eq (point) pt1)) :form (eq 176 179
    ert-fail(((should (eq (point) pt1)) :form (eq 176 179) :value nil))
    #f(compiled-function () #<bytecode -0xdd3f9b8b64b2928>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name dired-test-bug27243-02 :documentation
    ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [...
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/
    command-line()
    normal-top-level()
  Test dired-test-bug27243-02 condition:
      (ert-test-failed
       ((should
         (eq
          (point)
          pt1))
        :form
        (eq 176 179)
        :value nil))
     FAILED   5/16  dired-test-bug27243-02 (0.010115 sec) at ../../build-src/test/lisp/dired-tests.el:189

Bug: https://debbugs.gnu.org/27243
Forwarded: not-needed

Gbp-Pq: Name 0017-Mark-dired-test-bug27243-02-as-unstable-for-now.patch

3 weeks agoChange native-comp-async-report-warnings-errors to silent
Sean Whitton [Thu, 28 Mar 2024 05:24:49 +0000 (13:24 +0800)]
Change native-comp-async-report-warnings-errors to silent

We have had numerous bug reports across packages about this bothering
users.

Gbp-Pq: Name 0016-Change-native-comp-async-report-warnings-errors-to-s.patch

3 weeks agoChange native-comp-async-jobs-number default to 1
Sean Whitton [Tue, 29 Aug 2023 08:08:55 +0000 (09:08 +0100)]
Change native-comp-async-jobs-number default to 1

Gbp-Pq: Name 0015-Change-native-comp-async-jobs-number-default-to-1.patch

3 weeks agoPatch project-vc-recognizes-git test for Debian build
Sean Whitton [Mon, 31 Jul 2023 08:26:48 +0000 (09:26 +0100)]
Patch project-vc-recognizes-git test for Debian build

Gbp-Pq: Name 0014-Patch-project-vc-recognizes-git-test-for-Debian-buil.patch

3 weeks agoRename to 'inhibit-automatic-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 17:49:53 +0000 (19:49 +0200)]
Rename to 'inhibit-automatic-native-compilation'

The following upstream patch has been backported:

  Rename to inhibit-automatic-native-compilation

  * src/comp.c (maybe_defer_native_compilation):
  (syms_of_comp):
  * lisp/startup.el (inhibit-native-compilation):
  (normal-top-level):
  * lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile-and-load):
  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Rename
  inhibit-native-compilation to inhibit-automatic-native-compilation.

Origin: upstream, commit f97993ee667f9be7589825f3a4fbc095d6944ec6
Forwarded: not-needed

Gbp-Pq: Name 0013-Rename-to-inhibit-automatic-native-compilation.patch

3 weeks agoAdd 'inhibit-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)]
Add 'inhibit-native-compilation'

The following upstream patch has been backported:

  Add new variable 'inhibit-native-compilation'

  * lisp/startup.el (normal-top-level): Set
  inhibit-native-compilation from environment variable.

  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Don't write
  trampolines to disk.

  * lisp/progmodes/elisp-mode.el
  (emacs-lisp-native-compile-and-load): Adjust.

  * src/comp.c (syms_of_comp): New variable
  inhibit-native-compilation.
  (maybe_defer_native_compilation): Use it.

Origin: upstream, commit: 5fec9182dbeffa88cef6651d8c798ef9665d6681
Forwarded: not-needed

Gbp-Pq: Name 0012-Add-inhibit-native-compilation.patch

3 weeks agoMark flaky test process-tests/multiple-threads-waiting as unstable
Sean Whitton [Tue, 15 Nov 2022 23:26:59 +0000 (16:26 -0700)]
Mark flaky test process-tests/multiple-threads-waiting as unstable

It times out:

     passed  22/28  process-tests/fd-setsize-no-crash/make-serial-process (0.021449 sec)
  make[5]: *** [Makefile:182: src/process-tests.log] Error 134
    GEN      src/regex-emacs-tests.log
    GEN      src/search-tests.log
    GEN      src/syntax-tests.log
    GEN      src/textprop-tests.log
    GEN      src/thread-tests.log
    GEN      src/timefns-tests.log
    GEN      src/undo-tests.log
    GEN      src/xdisp-tests.log
    GEN      src/xfaces-tests.log
    GEN      src/xml-tests.log
  make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk/test'
  make[4]: [Makefile:335: check-doit] Error 2 (ignored)

  SUMMARY OF TEST RESULTS
  -----------------------
  Files examined: 375
  Ran 5408 tests, 28 failed to run, 5273 results as expected, 0 unexpected, 135 skipped
  1 files did not finish:
    src/process-tests.log
  make[4]: *** [Makefile:336: check-doit] Error 2

Gbp-Pq: Name 0011-Mark-flaky-test-process-tests-multiple-threads-waiti.patch

3 weeks agoMark test-undo-region as unstable
Sean Whitton [Tue, 15 Nov 2022 22:54:41 +0000 (15:54 -0700)]
Mark test-undo-region as unstable

It is repeatedly failing on Debian's arch:all autobuilders, though
seemingly nowhere else:

     passed  40/44  simple-transpose-subr (0.000396 sec)
  Test test-undo-region backtrace:
    signal(ert-test-failed (((should (= (length (delq nil (undo-make-sel
    ert-fail(((should (= (length (delq nil (undo-make-selective-list 1 9
    #f(compiled-function () #<bytecode 0x52f126616d2cdbd>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name test-undo-region :documentation nil :
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/build
    command-line()
    normal-top-level()
  Test test-undo-region condition:
      (ert-test-failed
       ((should
         (=
   (length ...)
   2))
        :form
        (= 3 2)
        :value nil))
     FAILED  41/44  test-undo-region (0.000185 sec)

Gbp-Pq: Name 0010-Mark-test-undo-region-as-unstable.patch

3 weeks agopdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k
John Paul Adrian Glaubitz [Sat, 24 Sep 2022 18:37:18 +0000 (13:37 -0500)]
pdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k

Before the change builds would fail like this:

  (...)
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/vc-hooks.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/ediff-hook.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/uniquify.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/electric.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/emacs-lisp/eldoc.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/cus-start.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/tooltip.el (source)...
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  Dumping under the name bootstrap-emacs.pdmp
  dumping fingerprint: 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6
  dump relocation out of range

[rlb@defaultvalue.org: create commit message]

Origin: debian
Bug: https://bugs.gnu.org/44531
Bug-Debian: http://bugs.debian.org/1019130
Forwarded: not-needed

Gbp-Pq: Name 0009-pdumper-set-DUMP_RELOC_ALIGNMENT_BITS-1-for-m68k.patch

3 weeks agoMark vc-bzr-test-fauilt-bzr-autoloads as unstable for now
Rob Browning [Sun, 16 Dec 2018 23:13:36 +0000 (17:13 -0600)]
Mark vc-bzr-test-fauilt-bzr-autoloads as unstable for now

Currently the test fails like this:

  Running 3 tests (2018-12-17 12:17:43-0600)
     passed  1/3  vc-bzr-test-bug9726
  Mark set
  Press C-c C-c when you are done editing.
  Enter a change comment.  Type C-c C-c when done
     passed  2/3  vc-bzr-test-bug9781
  Falling back on "slow" status detection ((file-missing "Opening input file" "No such file or directory" "/tmp/vc-bzr-testVlgmsb/bzr/.bzr/checkout/dirstate"))
  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Test vc-bzr-test-faulty-bzr-autoloads backtrace:
    logand(nil 128)
    vc-mode-line("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el" Bzr)
    vc-refresh-state()
    run-hooks(find-file-hook)
    after-find-file(t t)
    find-file-noselect-1(#<buffer loaddefs.el> "/tmp/vc-bzr-testVlgmsb/b
    find-file-noselect("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el")
    autoload-find-generated-file()
    update-directory-autoloads("/tmp/vc-bzr-testVlgmsb/bzr/")
    (progn (update-directory-autoloads default-directory) t)
    (setq value-35 (progn (update-directory-autoloads default-directory)
    (unwind-protect (setq value-35 (progn (update-directory-autoloads de
    (if (unwind-protect (setq value-35 (progn (update-directory-autoload
    (let (form-description-36) (if (unwind-protect (setq value-35 (progn
    (let ((value-35 (gensym "ert-form-evaluation-aborted-"))) (let (form
    (progn (call-process vc-bzr-program nil nil nil "init") (let ((temp-
    (unwind-protect (progn (call-process vc-bzr-program nil nil nil "ini
    (let* ((homedir (make-temp-file "vc-bzr-test" t)) (bzrdir (expand-fi
    (lambda nil (let* ((fn-30 (function executable-find)) (args-31 (cond
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name vc-bzr-test-faulty-bzr-autoloads :doc
    ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
    command-line-1(("-L" ":/home/locke/tmp/main-26.1/debian/build-src/te
    command-line()
    normal-top-level()
  Test vc-bzr-test-faulty-bzr-autoloads condition:
      (wrong-type-argument number-or-marker-p nil)
     FAILED  3/3  vc-bzr-test-faulty-bzr-autoloads

  Ran 3 tests, 2 results as expected, 1 unexpected (2018-12-17 12:17:46-0600)

  1 unexpected results:
     FAILED  vc-bzr-test-faulty-bzr-autoloads

Gbp-Pq: Name 0008-Mark-vc-bzr-test-fauilt-bzr-autoloads-as-unstable-fo.patch

3 weeks agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

Gbp-Pq: Name 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch

3 weeks agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

Gbp-Pq: Name 0006-Don-t-try-to-build-src-macuvs.h-via-IVD_Sequences.tx.patch

3 weeks agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Gbp-Pq: Name 0005-Modify-the-output-of-version-to-indicate-Debian-modi.patch

3 weeks agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

Gbp-Pq: Name 0004-Adjust-documentation-references-for-Debian.patch

3 weeks agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

Gbp-Pq: Name 0003-Remove-files-that-appear-to-be-incompatible-with-the.patch

3 weeks agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

Gbp-Pq: Name 0002-Run-debian-startup-and-set-debian-emacs-flavor.patch

3 weeks agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs.patch

3 weeks agoemacs (1:30.1+1-6+deb13u1) trixie-security; urgency=high
Rob Browning [Fri, 21 Aug 2026 17:24:00 +0000 (12:24 -0500)]
emacs (1:30.1+1-6+deb13u1) trixie-security; urgency=high

  * Mark esh-proc-test/kill-pipeline as unstable for now.  Skip it since
    it fails sporadically on at least s390x.  Add
    0024-Mark-esh-proc-test-kill-pipeline-as-unstable-for-now.patch to
    address the issue.

  * Fix an SVG-related vulnerability (CVE-2026-6861).  Add
    0025-src-image.c-svg_load_image-Fix-off-by-one-mistake-bu.patch which
    includes the upstream patch to fix the problem.  Thanks to Salvatore
    Bonaccorso for reporting the issue. (Closes: 1134692)

  * Don't run bytecomp-tests--dest-mountpoint where bwrap doesn't work.
    Add 0026-bytecomp-tests-dest-mountpoint-only-run-test-if-bwra.patch to
    address the issue.  Thanks to Santiago Vila for reporting the
    issue. (Closes: 1129189)

  * Skip two more proced-tests in debian that are skipped on darwin to
    avoid hanging during the tests.  Add
    0025-Skip-some-proced-tests-that-appear-to-be-hanging.patch to address
    the issue.

  * Mitigate a risk of executing arbitrary code when opening a file.  The
    vulnerability that has been mitigated could allow a specially crafted
    file to trigger execution of arbitrary Emacs Lisp code immediately
    upon visiting it in Emacs.  The broader issue is described here:
    https://debbugs.gnu.org/80574

    Add 0030-Mitigate-arbitrary-code-execution-vulnerability.patch to
    include the upstream patch addressing the problem.  Thanks to Nicholas
    D Steeves for reporting the issue.

[dgit import unpatched emacs 1:30.1+1-6+deb13u1]

3 weeks agoImport emacs_30.1+1-6+deb13u1.debian.tar.xz
Rob Browning [Fri, 21 Aug 2026 17:24:00 +0000 (12:24 -0500)]
Import emacs_30.1+1-6+deb13u1.debian.tar.xz

[dgit import tarball emacs 1:30.1+1-6+deb13u1 emacs_30.1+1-6+deb13u1.debian.tar.xz]

13 months agoMerge version 1:30.1+1-5+rpi1 and 1:30.1+1-6 to produce 1:30.1+1-6+rpi1 archive/raspbian/1%30.1+1-6+rpi1 raspbian/1%30.1+1-6+rpi1
Raspbian automatic forward porter [Fri, 1 Aug 2025 17:33:02 +0000 (18:33 +0100)]
Merge version 1:30.1+1-5+rpi1 and 1:30.1+1-6 to produce 1:30.1+1-6+rpi1

13 months agoMake fast forward from 1:30.1+1-5
Sean Whitton [Fri, 18 Jul 2025 08:58:11 +0000 (09:58 +0100)]
Make fast forward from 1:30.1+1-5

[dgit --quilt=dpm]

13 months agoAdd Breaks/Replaces/Provides for builtin packages in this release
Sean Whitton [Fri, 18 Jul 2025 08:58:25 +0000 (09:58 +0100)]
Add Breaks/Replaces/Provides for builtin packages in this release

17 months agoMerge version 1:30.1+1-4+rpi1 and 1:30.1+1-5 to produce 1:30.1+1-5+rpi1 archive/raspbian/1%30.1+1-5+rpi1 raspbian/1%30.1+1-5+rpi1
Raspbian automatic forward porter [Wed, 9 Apr 2025 17:09:51 +0000 (18:09 +0100)]
Merge version 1:30.1+1-4+rpi1 and 1:30.1+1-5 to produce 1:30.1+1-5+rpi1

17 months agoUpdate changelog for 1:30.1+1-5 upload
Sean Whitton [Sun, 30 Mar 2025 05:26:53 +0000 (13:26 +0800)]
Update changelog for 1:30.1+1-5 upload

17 months agoMake fast forward from 1:30.1+1-4
Sean Whitton [Sun, 30 Mar 2025 05:26:28 +0000 (13:26 +0800)]
Make fast forward from 1:30.1+1-4

[dgit --quilt=dpm]

17 months agoDisable emacs-module-tests.el
Sean Whitton [Sun, 30 Mar 2025 05:24:33 +0000 (13:24 +0800)]
Disable emacs-module-tests.el

This regularly causes Emacs to FTBFS.

17 months agoDisable emacs-module-tests.el
Sean Whitton [Sun, 30 Mar 2025 05:24:23 +0000 (13:24 +0800)]
Disable emacs-module-tests.el

This regularly causes Emacs to FTBFS.

18 months agoMerge version 1:30.1+1-3+rpi1 and 1:30.1+1-4 to produce 1:30.1+1-4+rpi1 archive/raspbian/1%30.1+1-4+rpi1 raspbian/1%30.1+1-4+rpi1
Raspbian automatic forward porter [Wed, 12 Mar 2025 15:21:20 +0000 (15:21 +0000)]
Merge version 1:30.1+1-3+rpi1 and 1:30.1+1-4 to produce 1:30.1+1-4+rpi1

18 months agoMerge version 1:29.4+1-5+rpi1 and 1:30.1+1-3 to produce 1:30.1+1-3+rpi1 archive/raspbian/1%30.1+1-3+rpi1 raspbian/1%30.1+1-3+rpi1
Raspbian automatic forward porter [Fri, 7 Mar 2025 11:02:53 +0000 (11:02 +0000)]
Merge version 1:29.4+1-5+rpi1 and 1:30.1+1-3 to produce 1:30.1+1-3+rpi1

18 months agoAdd "Breaks: dh-elpa-helper (<< 2.1.7)" to flavour binary packages
Sean Whitton [Thu, 6 Mar 2025 10:44:44 +0000 (18:44 +0800)]
Add "Breaks: dh-elpa-helper (<< 2.1.7)" to flavour binary packages

18 months agoMake fast forward from 1:30.1+1-3
Sean Whitton [Thu, 6 Mar 2025 10:44:41 +0000 (18:44 +0800)]
Make fast forward from 1:30.1+1-3

[dgit --quilt=dpm]

18 months agoUpdate debian/changelog for 30.1+1-3 release
Sean Whitton [Wed, 26 Feb 2025 09:33:17 +0000 (17:33 +0800)]
Update debian/changelog for 30.1+1-3 release

18 months agoMake fast forward from 1:30.1+1-2
Sean Whitton [Wed, 26 Feb 2025 09:32:48 +0000 (17:32 +0800)]
Make fast forward from 1:30.1+1-2

[dgit --quilt=dpm]

18 months agoDisable server-tests/server-force-stop/keeps-frames on riscv64
Sean Whitton [Wed, 26 Feb 2025 08:14:08 +0000 (16:14 +0800)]
Disable server-tests/server-force-stop/keeps-frames on riscv64

18 months agoDisable server-tests/server-force-stop/keeps-frames on riscv64
Sean Whitton [Wed, 26 Feb 2025 08:13:44 +0000 (16:13 +0800)]
Disable server-tests/server-force-stop/keeps-frames on riscv64

This test often hangs on the Debian buildds.
It simply fails on a porterbox, at least for the emacs-nox phase
of the build, though seemingly not the emacs-lucid phase.

18 months agoREADME.source: Add tasks for separately-packaged built-in libraries
Sean Whitton [Wed, 26 Feb 2025 08:08:10 +0000 (16:08 +0800)]
README.source: Add tasks for separately-packaged built-in libraries

18 months agoAdjust debian/changelog for UNRELEASED 30.1+1-3 development
Sean Whitton [Wed, 26 Feb 2025 07:58:46 +0000 (15:58 +0800)]
Adjust debian/changelog for UNRELEASED 30.1+1-3 development

18 months agoUpdate debian/changelog for 30.1+1-2 release
Sean Whitton [Tue, 25 Feb 2025 01:21:49 +0000 (09:21 +0800)]
Update debian/changelog for 30.1+1-2 release

18 months agoMake fast forward from 1:30.1+1-1
Sean Whitton [Tue, 25 Feb 2025 01:21:24 +0000 (09:21 +0800)]
Make fast forward from 1:30.1+1-1

[dgit --quilt=dpm]

18 months agoBoost BASE_PURESIZE in attempt to fix build on 32-bit archs
Sean Whitton [Tue, 25 Feb 2025 01:20:01 +0000 (09:20 +0800)]
Boost BASE_PURESIZE in attempt to fix build on 32-bit archs

18 months agoBoost BASE_PURESIZE in attempt to fix build on 32-bit archs
Sean Whitton [Tue, 25 Feb 2025 01:19:38 +0000 (09:19 +0800)]
Boost BASE_PURESIZE in attempt to fix build on 32-bit archs

18 months agoUpdate debian/changelog for 30.1+1-1 release
Sean Whitton [Mon, 24 Feb 2025 09:18:00 +0000 (17:18 +0800)]
Update debian/changelog for 30.1+1-1 release

18 months agoImport emacs_30.1+1.orig.tar.xz
Sean Whitton [Mon, 24 Feb 2025 09:19:10 +0000 (17:19 +0800)]
Import emacs_30.1+1.orig.tar.xz

[dgit import orig emacs_30.1+1.orig.tar.xz]

18 months agoMake fast forward from 1:29.4+1-6
Sean Whitton [Mon, 24 Feb 2025 09:19:10 +0000 (17:19 +0800)]
Make fast forward from 1:29.4+1-6

[dgit --quilt=dpm]

18 months agoREADME.source: Bump version numbers in sample commands
Sean Whitton [Mon, 24 Feb 2025 09:15:24 +0000 (17:15 +0800)]
README.source: Bump version numbers in sample commands

18 months agod/control: Bump dependencies of 'emacs' metapackage
Sean Whitton [Mon, 24 Feb 2025 08:31:06 +0000 (16:31 +0800)]
d/control: Bump dependencies of 'emacs' metapackage

18 months agod/control: Remove build dependency on libjansson-dev
Sean Whitton [Mon, 24 Feb 2025 08:25:24 +0000 (16:25 +0800)]
d/control: Remove build dependency on libjansson-dev

This is no longer used by Emacs.

18 months agod/rules: Adjust for on-by-default native compilation
Sean Whitton [Mon, 24 Feb 2025 08:24:55 +0000 (16:24 +0800)]
d/rules: Adjust for on-by-default native compilation

18 months agoREADME.source: Suggest using git-range-diff(1) on patch queues
Sean Whitton [Mon, 24 Feb 2025 08:23:46 +0000 (16:23 +0800)]
README.source: Suggest using git-range-diff(1) on patch queues

18 months agod/copyright: Updates for Emacs 30.1
Sean Whitton [Mon, 24 Feb 2025 08:03:51 +0000 (16:03 +0800)]
d/copyright: Updates for Emacs 30.1

18 months agoMerge upstream version 30.1
Sean Whitton [Mon, 24 Feb 2025 07:41:47 +0000 (15:41 +0800)]
Merge upstream version 30.1

Fixes CVE-2025-1244 and CVE-2024-53920.

Drop obsolete patch disabling flymake included-c-header-files test.

Closes: #1088690, #1098255, #1098780
18 months agoFix eldoc warning in patch adding debian-emacs-flavor
Xiyue Deng [Tue, 28 Jan 2025 07:23:37 +0000 (23:23 -0800)]
Fix eldoc warning in patch adding debian-emacs-flavor

Forwarded: not-needed
Closes: #1095133
18 months agoMark dired-test-bug27243-02 as unstable for now
Rob Browning [Sat, 29 Jun 2024 16:01:56 +0000 (11:01 -0500)]
Mark dired-test-bug27243-02 as unstable for now

This appears to be a known issue:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#64
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#115

Sample failure:

  Test dired-test-bug27243-02 backtrace:
    signal(ert-test-failed (((should (eq (point) pt1)) :form (eq 176 179
    ert-fail(((should (eq (point) pt1)) :form (eq 176 179) :value nil))
    #f(compiled-function () #<bytecode -0xdd3f9b8b64b2928>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name dired-test-bug27243-02 :documentation
    ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [...
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/
    command-line()
    normal-top-level()
  Test dired-test-bug27243-02 condition:
      (ert-test-failed
       ((should
         (eq
          (point)
          pt1))
        :form
        (eq 176 179)
        :value nil))
     FAILED   5/16  dired-test-bug27243-02 (0.010115 sec) at ../../build-src/test/lisp/dired-tests.el:189

Bug: https://debbugs.gnu.org/27243
Forwarded: not-needed

18 months agoChange native-comp-async-report-warnings-errors to silent
Sean Whitton [Thu, 28 Mar 2024 05:24:49 +0000 (13:24 +0800)]
Change native-comp-async-report-warnings-errors to silent

We have had numerous bug reports across packages about this bothering
users.

18 months agoChange native-comp-async-jobs-number default to 1
Sean Whitton [Tue, 29 Aug 2023 08:08:55 +0000 (09:08 +0100)]
Change native-comp-async-jobs-number default to 1

18 months agoPatch project-vc-recognizes-git test for Debian build
Sean Whitton [Mon, 31 Jul 2023 08:26:48 +0000 (09:26 +0100)]
Patch project-vc-recognizes-git test for Debian build

18 months agoRename to 'inhibit-automatic-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 17:49:53 +0000 (19:49 +0200)]
Rename to 'inhibit-automatic-native-compilation'

The following upstream patch has been backported:

  Rename to inhibit-automatic-native-compilation

  * src/comp.c (maybe_defer_native_compilation):
  (syms_of_comp):
  * lisp/startup.el (inhibit-native-compilation):
  (normal-top-level):
  * lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile-and-load):
  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Rename
  inhibit-native-compilation to inhibit-automatic-native-compilation.

Origin: upstream, commit f97993ee667f9be7589825f3a4fbc095d6944ec6
Forwarded: not-needed

18 months agoAdd 'inhibit-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)]
Add 'inhibit-native-compilation'

The following upstream patch has been backported:

  Add new variable 'inhibit-native-compilation'

  * lisp/startup.el (normal-top-level): Set
  inhibit-native-compilation from environment variable.

  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Don't write
  trampolines to disk.

  * lisp/progmodes/elisp-mode.el
  (emacs-lisp-native-compile-and-load): Adjust.

  * src/comp.c (syms_of_comp): New variable
  inhibit-native-compilation.
  (maybe_defer_native_compilation): Use it.

Origin: upstream, commit: 5fec9182dbeffa88cef6651d8c798ef9665d6681
Forwarded: not-needed

18 months agoMark flaky test process-tests/multiple-threads-waiting as unstable
Sean Whitton [Tue, 15 Nov 2022 23:26:59 +0000 (16:26 -0700)]
Mark flaky test process-tests/multiple-threads-waiting as unstable

It times out:

     passed  22/28  process-tests/fd-setsize-no-crash/make-serial-process (0.021449 sec)
  make[5]: *** [Makefile:182: src/process-tests.log] Error 134
    GEN      src/regex-emacs-tests.log
    GEN      src/search-tests.log
    GEN      src/syntax-tests.log
    GEN      src/textprop-tests.log
    GEN      src/thread-tests.log
    GEN      src/timefns-tests.log
    GEN      src/undo-tests.log
    GEN      src/xdisp-tests.log
    GEN      src/xfaces-tests.log
    GEN      src/xml-tests.log
  make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk/test'
  make[4]: [Makefile:335: check-doit] Error 2 (ignored)

  SUMMARY OF TEST RESULTS
  -----------------------
  Files examined: 375
  Ran 5408 tests, 28 failed to run, 5273 results as expected, 0 unexpected, 135 skipped
  1 files did not finish:
    src/process-tests.log
  make[4]: *** [Makefile:336: check-doit] Error 2

18 months agoMark test-undo-region as unstable
Sean Whitton [Tue, 15 Nov 2022 22:54:41 +0000 (15:54 -0700)]
Mark test-undo-region as unstable

It is repeatedly failing on Debian's arch:all autobuilders, though
seemingly nowhere else:

     passed  40/44  simple-transpose-subr (0.000396 sec)
  Test test-undo-region backtrace:
    signal(ert-test-failed (((should (= (length (delq nil (undo-make-sel
    ert-fail(((should (= (length (delq nil (undo-make-selective-list 1 9
    #f(compiled-function () #<bytecode 0x52f126616d2cdbd>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name test-undo-region :documentation nil :
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/build
    command-line()
    normal-top-level()
  Test test-undo-region condition:
      (ert-test-failed
       ((should
         (=
   (length ...)
   2))
        :form
        (= 3 2)
        :value nil))
     FAILED  41/44  test-undo-region (0.000185 sec)

18 months agopdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k
John Paul Adrian Glaubitz [Sat, 24 Sep 2022 18:37:18 +0000 (13:37 -0500)]
pdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k

Before the change builds would fail like this:

  (...)
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/vc-hooks.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/ediff-hook.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/uniquify.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/electric.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/emacs-lisp/eldoc.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/cus-start.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/tooltip.el (source)...
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  Dumping under the name bootstrap-emacs.pdmp
  dumping fingerprint: 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6
  dump relocation out of range

[rlb@defaultvalue.org: create commit message]

Origin: debian
Bug: https://bugs.gnu.org/44531
Bug-Debian: http://bugs.debian.org/1019130
Forwarded: not-needed

18 months agoMark vc-bzr-test-fauilt-bzr-autoloads as unstable for now
Rob Browning [Sun, 16 Dec 2018 23:13:36 +0000 (17:13 -0600)]
Mark vc-bzr-test-fauilt-bzr-autoloads as unstable for now

Currently the test fails like this:

  Running 3 tests (2018-12-17 12:17:43-0600)
     passed  1/3  vc-bzr-test-bug9726
  Mark set
  Press C-c C-c when you are done editing.
  Enter a change comment.  Type C-c C-c when done
     passed  2/3  vc-bzr-test-bug9781
  Falling back on "slow" status detection ((file-missing "Opening input file" "No such file or directory" "/tmp/vc-bzr-testVlgmsb/bzr/.bzr/checkout/dirstate"))
  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Test vc-bzr-test-faulty-bzr-autoloads backtrace:
    logand(nil 128)
    vc-mode-line("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el" Bzr)
    vc-refresh-state()
    run-hooks(find-file-hook)
    after-find-file(t t)
    find-file-noselect-1(#<buffer loaddefs.el> "/tmp/vc-bzr-testVlgmsb/b
    find-file-noselect("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el")
    autoload-find-generated-file()
    update-directory-autoloads("/tmp/vc-bzr-testVlgmsb/bzr/")
    (progn (update-directory-autoloads default-directory) t)
    (setq value-35 (progn (update-directory-autoloads default-directory)
    (unwind-protect (setq value-35 (progn (update-directory-autoloads de
    (if (unwind-protect (setq value-35 (progn (update-directory-autoload
    (let (form-description-36) (if (unwind-protect (setq value-35 (progn
    (let ((value-35 (gensym "ert-form-evaluation-aborted-"))) (let (form
    (progn (call-process vc-bzr-program nil nil nil "init") (let ((temp-
    (unwind-protect (progn (call-process vc-bzr-program nil nil nil "ini
    (let* ((homedir (make-temp-file "vc-bzr-test" t)) (bzrdir (expand-fi
    (lambda nil (let* ((fn-30 (function executable-find)) (args-31 (cond
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name vc-bzr-test-faulty-bzr-autoloads :doc
    ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
    command-line-1(("-L" ":/home/locke/tmp/main-26.1/debian/build-src/te
    command-line()
    normal-top-level()
  Test vc-bzr-test-faulty-bzr-autoloads condition:
      (wrong-type-argument number-or-marker-p nil)
     FAILED  3/3  vc-bzr-test-faulty-bzr-autoloads

  Ran 3 tests, 2 results as expected, 1 unexpected (2018-12-17 12:17:46-0600)

  1 unexpected results:
     FAILED  vc-bzr-test-faulty-bzr-autoloads

18 months agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

18 months agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

18 months agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
18 months agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

18 months agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

18 months agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

18 months agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

18 months agorecord new upstream branch
Sean Whitton [Mon, 24 Feb 2025 07:23:14 +0000 (15:23 +0800)]
record new upstream branch

18 months agoMerge upstream version 30.1
Sean Whitton [Mon, 24 Feb 2025 07:14:29 +0000 (15:14 +0800)]
Merge upstream version 30.1

18 months agoRelease Emacs 30.1
Stefan Kangas [Sun, 23 Feb 2025 16:29:57 +0000 (17:29 +0100)]
Release Emacs 30.1

* ChangeLog.5: New file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
* etc/HISTORY: Add Emacs 30.1.

18 months ago; * ChangeLog.4: Update.
Stefan Kangas [Sun, 23 Feb 2025 16:19:47 +0000 (17:19 +0100)]
; * ChangeLog.4: Update.

18 months agoMention CVE-2025-1244 in NEWS
Stefan Kangas [Sun, 23 Feb 2025 15:25:37 +0000 (16:25 +0100)]
Mention CVE-2025-1244 in NEWS

* etc/NEWS: Document CVE-2025-1244.

For anyone looking to backport this, the fix is in commit
820f0793f0b46448928905552726c1f1b999062f.

18 months agoUse character position for ranges in treesit_sync_visible_region
Yuan Fu [Sun, 23 Feb 2025 07:24:38 +0000 (23:24 -0800)]
Use character position for ranges in treesit_sync_visible_region

* src/treesit.c (treesit_sync_visible_region): Use character position
instead of byte position when comparing to ranges, because the
ranges are in character position.

18 months ago; * admin/authors.el (authors-aliases): Add Vladimir Nikishkin.
Eli Zaretskii [Sat, 22 Feb 2025 10:07:16 +0000 (12:07 +0200)]
; * admin/authors.el (authors-aliases): Add Vladimir Nikishkin.

18 months ago; * INSTALL.REPO: Minor copyedits.
Eli Zaretskii [Sat, 22 Feb 2025 07:16:05 +0000 (09:16 +0200)]
; * INSTALL.REPO: Minor copyedits.

18 months ago; Don't fail image tests if jpeg is supported via imagemagick
Ulrich Müller [Fri, 21 Feb 2025 11:13:20 +0000 (12:13 +0100)]
; Don't fail image tests if jpeg is supported via imagemagick

* test/lisp/image-tests.el (image-supported-file-p/optional):
Consider also the imagemagick case.  (Bug#76465)

18 months ago; Skip autorevert test when notify support is missing
Ulrich Müller [Fri, 21 Feb 2025 08:15:50 +0000 (09:15 +0100)]
; Skip autorevert test when notify support is missing

* test/lisp/autorevert-tests.el
(auto-revert-test07-auto-revert-several-buffers): Skip if file
notification support is not available.  (Bug#76459)

18 months ago; Skip shr-test/zoom-image test if png or libxml support is missing
Ulrich Müller [Fri, 21 Feb 2025 09:36:52 +0000 (10:36 +0100)]
; Skip shr-test/zoom-image test if png or libxml support is missing

* test/lisp/net/shr-tests.el (shr-test/zoom-image): Skip if png
images or libxml are not supported.  (Bug#76464)

18 months ago; Skip image type test if support is missing
Ulrich Müller [Fri, 21 Feb 2025 08:58:16 +0000 (09:58 +0100)]
; Skip image type test if support is missing

* test/lisp/image-tests.el (image-type-from-file-name): Skip if
image types are not available.  (Bug#76462)

18 months agoFix reported Haiku build error in emacs-30.1-rc1
Po Lu [Fri, 21 Feb 2025 05:28:52 +0000 (13:28 +0800)]
Fix reported Haiku build error in emacs-30.1-rc1

* src/haiku_support.cc (keysym_from_raw_char): Don't define
duplicate cases on the previous release.

18 months ago; Delete troff markers from ChangeLog files
Stefan Kangas [Thu, 20 Feb 2025 01:46:43 +0000 (02:46 +0100)]
; Delete troff markers from ChangeLog files

18 months ago; * Update 'ldefs-boot.el' (do not merge)
Stefan Kangas [Thu, 20 Feb 2025 01:36:41 +0000 (02:36 +0100)]
; * Update 'ldefs-boot.el' (do not merge)

18 months agoBump Emacs version to 30.1
Stefan Kangas [Wed, 19 Feb 2025 23:47:07 +0000 (00:47 +0100)]
Bump Emacs version to 30.1

* README:
* configure.ac:
* exec/configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 30.1.

18 months agoUpdate files for Emacs 30.1
Stefan Kangas [Wed, 19 Feb 2025 23:46:32 +0000 (00:46 +0100)]
Update files for Emacs 30.1

* ChangeLog.4:
* etc/AUTHORS: Update for Emacs 30.1.

18 months ago; Fix typo introduced in "* ChangeLog.4: Reformat down to 28 March 2024."
Stefan Kangas [Wed, 19 Feb 2025 23:30:15 +0000 (00:30 +0100)]
; Fix typo introduced in "* ChangeLog.4: Reformat down to 28 March 2024."

18 months agoFix remaining Android bugs reported over the past months
Po Lu [Wed, 19 Feb 2025 12:40:12 +0000 (20:40 +0800)]
Fix remaining Android bugs reported over the past months

* java/org/gnu/emacs/EmacsActivity.java (attachWindow):
Guarantee that child windows promoted to toplevels receive
layout parameters that direct them to receive their parents'
dimensions.  Otherwise, the size of the window as a child is
retained on Huawei HarmonyOS 4.2 and possibly other Android
distributions.

* java/org/gnu/emacs/EmacsService.java (updateCursorAnchorInfo):
Run anchor updates on the UI thread, as
`InputMethodManager#updateCursorAnchorInfo' is liable to call
`View#requestLayout'.

* java/org/gnu/emacs/EmacsView.java (onMeasure): Always call
`measureChildren', or child frames' onLayout handlers might not
be invoked after they request a layout cycle and are duly
processed in `onLayout'.
(swapBuffers): Delete erroneous commentary.

* java/org/gnu/emacs/EmacsWindow.java (viewLayout): If
overrideRedirect, don't inadvertently clear rect.left and
rect.top by recording the window's WM window-relative position.
Fix typos.
(reparentTo): Invalidate focus after transferring frame.
(translateCoordinates): Account for override-redirect windows.
Mostly important for mouse-drag-and-drop-region.

18 months agoProperly move existing tooltips on Android
Po Lu [Wed, 19 Feb 2025 07:34:51 +0000 (15:34 +0800)]
Properly move existing tooltips on Android

* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an
override redirect window, additionally notify the window manager
of layout changes.